<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <canvas id="c1" width="600" height="600"></canvas>
  <script>
    const c1 = document.getElementById('c1')
    const cvsCtx = c1.getContext('2d')

    cvsCtx.beginPath();

    cvsCtx.moveTo(200, 300);
    cvsCtx.quadraticCurveTo(150, 300, 150, 200);
    cvsCtx.quadraticCurveTo(150, 100, 300, 100);
    cvsCtx.quadraticCurveTo(450, 100, 450, 200);
    cvsCtx.quadraticCurveTo(450, 300, 250, 300);
    cvsCtx.quadraticCurveTo(250, 350, 150, 350);
    cvsCtx.quadraticCurveTo(200, 350, 200, 300);

    cvsCtx.stroke();
    cvsCtx.closePath();
    
  </script>
</body>
</html>